<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="taglibs.jsp" %>
<html>
<head>
    <title><tiles:insertAttribute name="title" /></title>
    <%@ include file="meta.jsp" %>
    <script type="text/javascript" src="${rootPath}/resources/js/less.js"></script>
    <link rel="stylesheet" href="${rootPath}/resources/css/demo.css" type="text/css">
    <link rel="stylesheet" href="${rootPath}/resources/css/zTreeStyle/zTreeStyle.css" type="text/css">
    <link rel="stylesheet" href="${rootPath}/resources/css/style_cache.css" type="text/css">
    <link rel="stylesheet" href="${rootPath}/resources/css/messages.css" type="text/css">
    <script type="text/javascript" src="${rootPath}/resources/js/jquery.min.js"></script>
    <script type="text/javascript" src="${rootPath}/resources/js/jquery.ztree.all.js"></script>
    <script type="text/javascript" src="${rootPath}/resources/js/common/screen.js"></script>
    <script type="text/javascript" src="${rootPath}/resources/js/common/scrollabletable.js"></script>
    <script type="text/javascript" src="${rootPath}/resources/js/common/makeScrollableTablePro.js"></script>
    <tilesx:useAttribute id="jspID" name="jspID" classname="java.lang.String" ignore="true" />
    <tilesx:useAttribute id="actionURL" name="action" classname="java.lang.String" ignore="true" />
    <tilesx:useAttribute id="headerWidth" name="headerWidth" classname="java.lang.String" ignore="true" />
    <tilesx:useAttribute id="aHeight" name="aHeight"  classname="java.lang.String" ignore="true"/>
    <tilesx:useAttribute id="bHeight" name="bHeight"  classname="java.lang.String" ignore="true"/>
    <tilesx:useAttribute id="pageWidth" name="pageWidth"  classname="java.lang.String" ignore="true"/>
    <tilesx:useAttribute id="pageHeight" name="pageHeight"  classname="java.lang.String" ignore="true"/>
    <tilesx:useAttribute id="methodType" name="methodType"  classname="java.lang.String" ignore="true"/>
    <tilesx:useAttribute id="encType" name="encType"  classname="java.lang.String" ignore="true"/>
    <tilesx:useAttribute id="abHeight" name="abHeight"  classname="java.lang.String" ignore="true"/>
    <tilesx:useAttribute id="showPrinter" name="showPrinter"  classname="java.lang.String" ignore="true"/>
</head>
<body  topmargin="10" leftmargin="25" marginwidth="25" marginheight="0" onload="hasLoaded();" oncontextmenu="return false" >
<div id="screen">
 <form enctype="${encType}" class="module" action="${rootPath}/${actionURL}" onsubmit="return formSubmit();" method="${methodType}">

<%-- header part --%>
    <div id="header">
        <%@ include file="heade.jsp" %>
    </div>
    <%-- a part --%>
    <div id="a">
        <tiles:insertAttribute name="a" flush="true" ignore="true" />
    </div>
    <%-- b part --%>
    <div id="b" style="overflow: auto;">
        <div style="width:985px;">
        </div>
        <div style="width:985px; display: none">
            <div id="error_message_div_2" class="error"></div>
            <div id="info_message_div_2" class="message"></div>
        </div>
        <div>
            <tiles:insertAttribute name="b" flush="true"/>
        </div>
    </div>
    <%-- c part --%>
    <div id="c" style="height: 55px;">
        <tiles:insertAttribute name="c" flush="true"/>
    </div>
 </form>
</div>
<script type="text/javascript">
    function formSubmit(){
        return true;
    }
    function hasLoaded(){
        Global_FunctionKey_enable=true;
        hideLoadingPic();

        //set the window to center
        centerizeWindow2(parent,"${pageWidth}","${pageHeight}");
    }
    createLoadingPic("${rootPath}/resources","${pageWidth}","${pageHeight}");

</script>
</body>
</html>
